package com.ruoyi.activity.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.Map;

@ApiModel(value = "ActHistoricActivityInstanceInfo", description = "审批记录返回")
@Data
public class ActHistoricActivityInstanceInfo {

	@ApiModelProperty(hidden = true)
	private String id;

	@ApiModelProperty(hidden = true)
	private String activityId;

	@ApiModelProperty(value = "节点名称")
	private String activityName;
	
	private String activityType;
	
	private String processDefinitionId;
	
	private String processInstanceId;
	
	private String executionId;

	@ApiModelProperty(value = "节点名称")
	private String taskId;
	
	private String calledProcessInstanceId;
	
	private String applyUserId;
	
	private String applyUserName;

	@ApiModelProperty(value = "审批人ID")
	private String assignee;

	@ApiModelProperty(value = "审批人ID名称")
	private String assigneeName;

	@ApiModelProperty(value = "审批人单位")
	private String assigneeUserCompany;

	@ApiModelProperty(value = "流程开始时间")
	private Date startTime;

	@ApiModelProperty(value = "流程结束时间")
	private Date endTime;
	
	/**
	 * @Fields durationInMillis:持续时间（毫秒）
	 */
	@ApiModelProperty(value = "流程持续时间")
	private Long durationInMillis;

	private String deleteReason;

	@ApiModelProperty(value = "审批备注")
	private String description;

	@ApiModelProperty(value = "审批附件")
	private String approvalFileIds;

	@ApiModelProperty(value = "审批操作/状态 1审核中 2已完成 3退回 4撤回 5修改后同意 6不同意")
	private String approvalStatus;
	
	private Map<String, Object> processVariables;

	private String rejectType;

	private String countersignature;
	
}
